package priv.yiyuan.example.design.pay;

import java.util.Map;

/**
 * 支付接口(桥接模式实现部分)
 */
public interface PaymentProcessor {

    boolean processPayment(double amount, Map<String, String> paymentDetails);

    boolean refund(double amount, String transactionId);
}
